package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallAdminBindingDao;
import com.appkubes.mall.core.entity.MallAdminBinding;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallAdminBindingService extends AbstractBaseService<BaseMallAdminBindingDao, MallAdminBinding> {

    MallAdminBinding getOneByEntity(MallAdminBinding entity);

    List<MallAdminBinding> selectListByEntity(MallAdminBinding entity);

    IPage<MallAdminBinding> selectPageByEntity(IPage<MallAdminBinding> page);
    IPage<MallAdminBinding> selectPageByEntity(PageVO pageVO);

    IPage<MallAdminBinding> selectPageByEntity(MallAdminBinding entity, IPage<MallAdminBinding> page);
    IPage<MallAdminBinding> selectPageByEntity(MallAdminBinding entity, PageVO pageVO);

    IPage<MallAdminBinding> selectPageByEntity(MallAdminBinding entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallAdminBinding entity);
}
